FROM node:latest

RUN git clone https://github.com/makunet/maku-admin.git
RUN cd /maku-admin && npm install

RUN sed -i "s|https://demo.maku.net/maku-boot-server|http://localhost:8080|g" /maku-admin/.env.development
WORKDIR /maku-admin
EXPOSE 3000

ENTRYPOINT ["npm","run","dev"]